package com.ynny.chapter10.Mapper;
import com.ynny.chapter10.Bean.Student;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface StudentMapper<Student> {
    //根据账户更新密码
    int updatePassword(@Param("username") String username, @Param("password") String password);
    //根据身份查询用户信息
    List<Student> selectByIdentity(String identity);
    //根据账号删除用户信息
    int  deleteByAccount(String username);
    //
}
